import linMusic from "./music/index"

const components = {
    linMusic
}

const install  = function(Vue) {
    // 避免重复安装
    if(install.installed)return ;
    Object.keys(components).forEach(key => {
        Vue.component(key,components[key]);
    })
}

const API = {
    install
}

export default API